HAL GFXTIM macro migration ¶
This section provides information about the HAL GFXTIM macro migration.
Note
All GFXTIM macros are removed from the HAL GFXTIM driver and replaced with exported functions in the LL GFXTIM driver.
Related concept:
HAL GFXTIM clear flag macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_GFXTIM_CLEAR_FLAG(__HANDLE__, __FLAG__)
|
__STATIC_INLINE void LL_GFXTIM_ClearFlag(GFXTIM_TypeDef *gfxtim, uint32_t flag);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_AFCO(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_ALCO(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_TE(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_ALCC1(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_ALCC2(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_RFC1R(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_RFC2R(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_EV1(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_EV2(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_EV3(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_EV4(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_WDGA(GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE void LL_GFXTIM_ClearFlag_WDGP(GFXTIM_TypeDef *gfxtim);
|
HAL GFXTIM get flag Macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_GFXTIM_GET_FLAG(__HANDLE__, __FLAG__)
|
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag(const GFXTIM_TypeDef *gfxtim, uint32_t flag);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_AFCO(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_ALCO(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_TE(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_ALCC1(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_ALCC2(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_RFC1R(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_RFC2R(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_EV1(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_EV2(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_EV3(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_EV4(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_WDGA(const GFXTIM_TypeDef *gfxtim);
__STATIC_INLINE uint32_t LL_GFXTIM_IsActiveFlag_WDGP(const GFXTIM_TypeDef *gfxtim);
|
HAL GFXTIM reset handle state macro ¶
|
HAL1 |
HAL2 |
|---|---|
#define __HAL_GFXTIM_RESET_HANDLE_STATE(__HANDLE__)
|
Removed: In HAL2 you can use HAL_GFXTIM_DeInit() function to reset all
configuration including handle state
|